
import 'package:flutter/cupertino.dart';
import 'package:flutter_blue_elves/flutter_blue_elves.dart';

///蓝牙设备
///Bluetooth devices
class BlueInfo{
  String? name;
  int? rssi;
  String? mac;
  ScanResult? result;

  BlueInfo({@required this.name,@required this.rssi,@required this.mac,this.result});

}

class PpgEdaCsvInfo{
  String? time;
  String? value;
  PpgEdaCsvInfo({@required this.time,@required this.value});
}

class PpgEdaNewCsvInfo{
  String? time;
  String? eda1Shi;
  String? eda1Xu;
  String? eda2Shi;
  String? eda2Xu;
  String? resistance;
  PpgEdaNewCsvInfo({@required this.time,
    @required this.eda1Shi,
    @required this.eda1Xu,
    @required this.eda2Shi,
    @required this.eda2Xu,
    @required this.resistance,
  });


  @override
  String toString() {
    return 'eda1Shi:${eda1Shi} '
        'eda1Xu:${eda1Xu} '
        'eda2Shi:${eda2Shi} '
        'edaXu:${eda2Xu} '
        'resistance:${resistance}';
  }
}